package org.example.fortest.service;

import org.example.fortest.model.User;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface UserService {
    List<User> selectUserList(User user, Pageable pageable);

    boolean checkUserNameUnique(User user);

    boolean insertUser(User user);

    boolean updataUser(User user);

    boolean deleteByFlag(Long id);
}
